package cn.net.mugui.net.task;

import cn.net.mugui.net.conf.SysConfBean;
import cn.net.mugui.net.dao.Dao;
import cn.net.mugui.net.p2p.ServerAttr;
import com.mugui.base.base.Autowired;
import com.mugui.base.base.Component;
import com.mugui.base.client.net.auto.AutoTask;
import com.mugui.base.client.net.base.Task;
import com.mugui.base.client.net.base.TaskInterface;

@AutoTask
@Task
@Component
public class TableCreateTask implements TaskInterface {

    @Autowired
    private Dao dao;

    public void init() {
        dao.createTable(SysConfBean.class);
        dao.createTable(ServerAttr.class);

    }

    @Override
    public void run() {

    }

}
